import request from '@/utils/request'

// 查询扫码信息管理列表
export function listTimeMonitoring(query) {
  return request({
    url: '/system/timeMonitoring/list',
    method: 'get',
    params: query
  })
}

// 查询扫码信息管理详细
export function getTimeMonitoring(id) {
  return request({
    url: '/system/timeMonitoring/' + id,
    method: 'get'
  })
}

// 新增扫码信息管理
export function addTimeMonitoring(data) {
  return request({
    url: '/system/timeMonitoring',
    method: 'post',
    data: data
  })
}

// 修改扫码信息管理
export function updateTimeMonitoring(data) {
  return request({
    url: '/system/timeMonitoring',
    method: 'put',
    data: data
  })
}

// 删除扫码信息管理
export function delTimeMonitoring(id) {
  return request({
    url: '/system/timeMonitoring/' + id,
    method: 'delete'
  })
}

// 导出扫码信息管理
export function exportTimeMonitoring(query) {
  return request({
    url: '/system/timeMonitoring/export',
    method: 'get',
    params: query
  })
}